package com.hksj.acm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author fjt
 * @data 2024/7/11 16:36
 * @describe todo
 */
@Data
public class HistoryCurveDTO implements Serializable {

    private static final long serialVersionUID = -2396780016355179238L;
    /**
     * 设备id
     */
    @ApiModelProperty("设备id")
    @NotNull(message = "设备id不能为空")
    private String deviceId;


    /**
     * 检测属性key
     */
    @ApiModelProperty("属性集合")
    private List<String> propertyList;


    @ApiModelProperty("查询起始时间 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("查询截止时间 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


}
